<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: fsl_flash.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('apps_2flash__driver__api_2src_2fsl__flash_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">apps/flash_driver_api/src/fsl_flash.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2013-2016, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef _FSL_FLASH_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define _FSL_FLASH_H_</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * Definitions</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#if !defined(MAKE_VERSION)</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#define MAKE_VERSION(major, minor, bugfix) (((major) &lt;&lt; 16) | ((minor) &lt;&lt; 8) | (bugfix))</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#define FSL_FLASH_DRIVER_VERSION (MAKE_VERSION(2, 1, 0)) </span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga2cdaf5b1f6b03013e2f0cf2c6d26adae">   58</a></span>&#160;<span class="preprocessor">enum _flash_driver_version_constants</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea599e22575bcd9a7aa32a1c7b43591f0b">   60</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea599e22575bcd9a7aa32a1c7b43591f0b">kFLASH_DriverVersionName</a> = <span class="charliteral">&#39;F&#39;</span>, </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea4735add39aa49ca212b24fbef9fcb952">   61</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea4735add39aa49ca212b24fbef9fcb952">kFLASH_DriverVersionMajor</a> = 2,  </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaeab54b9127ada5f04373dd17edc4e005f4">   62</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaeab54b9127ada5f04373dd17edc4e005f4">kFLASH_DriverVersionMinor</a> = 1,  </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea1a3661a27450809aa90f49d6b01781b3">   63</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea1a3661a27450809aa90f49d6b01781b3">kFLASH_DriverVersionBugfix</a> = 0  </div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;};</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#if defined(kStatusGroup_FLASH)</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">#define kStatusGroupGeneric kStatusGroup_Generic</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#define kStatusGroupFlashDriver kStatusGroup_FLASH</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#define IS_GENERIC_STAUS_CODE_DEFINED 1</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#define kStatusGroupGeneric 0</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#define kStatusGroupFlashDriver 1</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#define IS_GENERIC_STAUS_CODE_DEFINED 0</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#if !defined(MAKE_STATUS)</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#define MAKE_STATUS(group, code) ((((group)*100) + (code)))</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gaaabdaf7ee58ca7269bd4bf24efcde092">   88</a></span>&#160;<span class="keyword">typedef</span> int32_t <a class="code" href="group__flash__driver__api.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a>;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#if !(IS_GENERIC_STAUS_CODE_DEFINED)</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">enum</span> <a class="code" href="group__ksdk__common.html#ga98674236630d24e8234d66eabcb26953">_generic_status</a></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;{</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    kStatus_Success = MAKE_STATUS(kStatusGroupGeneric, 0),</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    kStatus_Fail = MAKE_STATUS(kStatusGroupGeneric, 1),</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    kStatus_ReadOnly = MAKE_STATUS(kStatusGroupGeneric, 2),</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    kStatus_OutOfRange = MAKE_STATUS(kStatusGroupGeneric, 3),</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    kStatus_InvalidArgument = MAKE_STATUS(kStatusGroupGeneric, 4)</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;};</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gaa4639fd4d4503c0dec9925f749d308b2">  105</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__flash__driver.html#gaa4639fd4d4503c0dec9925f749d308b2">_flash_status</a></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aacee5186bbe9db2e091dc5c36531cd7c">  107</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aacee5186bbe9db2e091dc5c36531cd7c">kStatus_FLASH_Success</a> = MAKE_STATUS(kStatusGroupGeneric, 0),         </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a85c375f1213ec36dd2cf60e8d9851867">  108</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a85c375f1213ec36dd2cf60e8d9851867">kStatus_FLASH_InvalidArgument</a> = MAKE_STATUS(kStatusGroupGeneric, 4), </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a6735801bd1fbd61f7d96a07c2c2f9a76">  109</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a6735801bd1fbd61f7d96a07c2c2f9a76">kStatus_FLASH_SizeError</a> = MAKE_STATUS(kStatusGroupFlashDriver, 0),   </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a098148af25679d78133103cace7580ea">  110</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a098148af25679d78133103cace7580ea">kStatus_FLASH_AlignmentError</a> =</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 1), </div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2acc367a368270606eae83264f59b55211">  112</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2acc367a368270606eae83264f59b55211">kStatus_FLASH_AddressError</a> = MAKE_STATUS(kStatusGroupFlashDriver, 2), </div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab9e32512512c1ea1508bc2832f2bd528">  113</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab9e32512512c1ea1508bc2832f2bd528">kStatus_FLASH_AccessError</a> =</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 3), </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab406157d740ab0a07df1fc5d2b159fc3">  115</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab406157d740ab0a07df1fc5d2b159fc3">kStatus_FLASH_ProtectionViolation</a> = MAKE_STATUS(</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        kStatusGroupFlashDriver, 4), </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a42567b719be83f23619c498da80643ed">  117</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a42567b719be83f23619c498da80643ed">kStatus_FLASH_CommandFailure</a> =</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 5), </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a0ac435d9c4aa24ccb8ab983de1979780">  119</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a0ac435d9c4aa24ccb8ab983de1979780">kStatus_FLASH_UnknownProperty</a> = MAKE_STATUS(kStatusGroupFlashDriver, 6),   </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a9741e88e6013710b11b81e2af7071a92">  120</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a9741e88e6013710b11b81e2af7071a92">kStatus_FLASH_EraseKeyError</a> = MAKE_STATUS(kStatusGroupFlashDriver, 7),     </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa3ace4bf14ea333efd6189b8ddf47aca">  121</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa3ace4bf14ea333efd6189b8ddf47aca">kStatus_FLASH_RegionExecuteOnly</a> = MAKE_STATUS(kStatusGroupFlashDriver, 8), </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a87d744021836148574383ddcae44db32">  122</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a87d744021836148574383ddcae44db32">kStatus_FLASH_ExecuteInRamFunctionNotReady</a> =</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 9), </div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a91eb156935e27973454eb8df37a36c53">  124</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a91eb156935e27973454eb8df37a36c53">kStatus_FLASH_PartitionStatusUpdateFailure</a> =</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 10), </div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab8b9f6c116209a00338a430e741a1a40">  126</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab8b9f6c116209a00338a430e741a1a40">kStatus_FLASH_SetFlexramAsEepromError</a> =</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 11), </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a128d2d13d9674d46619a5c698bc7a7b9">  128</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a128d2d13d9674d46619a5c698bc7a7b9">kStatus_FLASH_RecoverFlexramAsRamError</a> =</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 12), </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2abf40cb19a8c5af9880414ef5f9be1c6d">  130</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2abf40cb19a8c5af9880414ef5f9be1c6d">kStatus_FLASH_SetFlexramAsRamError</a> = MAKE_STATUS(kStatusGroupFlashDriver, 13), </div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa7652faf3cc559ccda57f8aea502045b">  131</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa7652faf3cc559ccda57f8aea502045b">kStatus_FLASH_RecoverFlexramAsEepromError</a> =</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 14), </div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab032e11743a3397f9c81afac3faa9c25">  133</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab032e11743a3397f9c81afac3faa9c25">kStatus_FLASH_CommandNotSupported</a> = MAKE_STATUS(kStatusGroupFlashDriver, 15), </div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a5e0c3747a74458caefc231b995f09679">  134</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a5e0c3747a74458caefc231b995f09679">kStatus_FLASH_SwapSystemNotInUninitialized</a> =</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 16), </div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aefaeaf1008f0361fb3ff2d051720cd82">  136</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aefaeaf1008f0361fb3ff2d051720cd82">kStatus_FLASH_SwapIndicatorAddressError</a> =</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        MAKE_STATUS(kStatusGroupFlashDriver, 17), </div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;};</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#if !defined(FOUR_CHAR_CODE)</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#define FOUR_CHAR_CODE(a, b, c, d) (((d) &lt;&lt; 24) | ((c) &lt;&lt; 16) | ((b) &lt;&lt; 8) | ((a)))</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga95539796ed8672eda06bfc363883a508">  157</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__flash__driver.html#ga95539796ed8672eda06bfc363883a508">_flash_driver_api_keys</a></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;{</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga95539796ed8672eda06bfc363883a508a5b52819ce5c4ed6cb099b6f89b7eac56">  159</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga95539796ed8672eda06bfc363883a508a5b52819ce5c4ed6cb099b6f89b7eac56">kFLASH_ApiEraseKey</a> = FOUR_CHAR_CODE(<span class="charliteral">&#39;k&#39;</span>, <span class="charliteral">&#39;f&#39;</span>, <span class="charliteral">&#39;e&#39;</span>, <span class="charliteral">&#39;k&#39;</span>) </div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;};</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga2105f5de393a06479e62141dab8dd3fc">  166</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_margin_value</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;{</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca9071189977c1f756d42d710288cfb6be">  168</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca9071189977c1f756d42d710288cfb6be">kFLASH_MarginValueNormal</a>,  </div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca1c1271a7e38d4e062e202730f6a5ebed">  169</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca1c1271a7e38d4e062e202730f6a5ebed">kFLASH_MarginValueUser</a>,    </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcadc331ba6a0e6de26eb5c1e755136608d">  170</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcadc331ba6a0e6de26eb5c1e755136608d">kFLASH_MarginValueFactory</a>, </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcaa297e7607bb0ccefbe181d1f1d828deb">  171</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcaa297e7607bb0ccefbe181d1f1d828deb">kFLASH_MarginValueInvalid</a>  </div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;} <a class="code" href="group__flash__driver__api.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a>;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga00b3eb2666116e617f6e45a10218f6a9">  177</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_security_state</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;{</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9ad48939abe53a98896541d2ee1e7bf752">  179</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9ad48939abe53a98896541d2ee1e7bf752">kFLASH_SecurityStateNotSecure</a>,       </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a4c4da1c4c06977cc999930f75f38ecc7">  180</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a4c4da1c4c06977cc999930f75f38ecc7">kFLASH_SecurityStateBackdoorEnabled</a>, </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a5c7043f3abad4e8d65f12179c4636dc2">  181</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a5c7043f3abad4e8d65f12179c4636dc2">kFLASH_SecurityStateBackdoorDisabled</a> </div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;} <a class="code" href="group__flash__driver__api.html#ga00b3eb2666116e617f6e45a10218f6a9">flash_security_state_t</a>;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga9378245c649eebea9451367d6b8f9ce2">  187</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_protection_state</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;{</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2ace4690203221c04a4e00de6278a59f1e">  189</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2ace4690203221c04a4e00de6278a59f1e">kFLASH_ProtectionStateUnprotected</a>, </div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2a2c73fefaf7e6e3a065744be1aab71149">  190</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2a2c73fefaf7e6e3a065744be1aab71149">kFLASH_ProtectionStateProtected</a>,   </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2aca2ca63f9c507495e7b0f510b69497bb">  191</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2aca2ca63f9c507495e7b0f510b69497bb">kFLASH_ProtectionStateMixed</a>        </div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;} <a class="code" href="group__flash__driver__api.html#ga9378245c649eebea9451367d6b8f9ce2">flash_protection_state_t</a>;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gad38961e5692f64548dbf84d652b9ccde">  197</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_execute_only_access_state</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;{</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea38101c1bc20b060f8fa2f5ac43a04f66">  199</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea38101c1bc20b060f8fa2f5ac43a04f66">kFLASH_AccessStateUnLimited</a>,   </div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdeae275896979de1eca572ae3c7449148f1">  200</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdeae275896979de1eca572ae3c7449148f1">kFLASH_AccessStateExecuteOnly</a>, </div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea0b22f0d8b1f43e064f04d12659293c38">  201</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea0b22f0d8b1f43e064f04d12659293c38">kFLASH_AccessStateMixed</a>        </div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;} <a class="code" href="group__flash__driver__api.html#gad38961e5692f64548dbf84d652b9ccde">flash_execute_only_access_state_t</a>;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga7b6766fe08a63cf92a5e2a90dd6d010f">  207</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_property_tag</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;{</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010faa6c433411ecb4bfea9d74504e266e219">  209</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010faa6c433411ecb4bfea9d74504e266e219">kFLASH_PropertyPflashSectorSize</a> = 0x00U,         </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa68caa1558315b7704b08d85c42869eb5">  210</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa68caa1558315b7704b08d85c42869eb5">kFLASH_PropertyPflashTotalSize</a> = 0x01U,          </div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad8c3b85ca1dc8fc5ef03e1954aef873e">  211</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad8c3b85ca1dc8fc5ef03e1954aef873e">kFLASH_PropertyPflashBlockSize</a> = 0x02U,          </div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fabb40541593520b9c1a87648a26e81957">  212</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fabb40541593520b9c1a87648a26e81957">kFLASH_PropertyPflashBlockCount</a> = 0x03U,         </div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa0159abfba4e6ca47c70a89ea2fc24ab9">  213</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa0159abfba4e6ca47c70a89ea2fc24ab9">kFLASH_PropertyPflashBlockBaseAddr</a> = 0x04U,      </div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa82ed61ee8b06813070ded3e06675e07c">  214</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa82ed61ee8b06813070ded3e06675e07c">kFLASH_PropertyPflashFacSupport</a> = 0x05U,         </div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab1ff313c13a7c4c9794c97d894c784d1">  215</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab1ff313c13a7c4c9794c97d894c784d1">kFLASH_PropertyPflashAccessSegmentSize</a> = 0x06U,  </div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad73e31438b9bf8ea5d95e4807371e414">  216</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad73e31438b9bf8ea5d95e4807371e414">kFLASH_PropertyPflashAccessSegmentCount</a> = 0x07U, </div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa9ca389a1c885600feb6900b0d34f7c14">  217</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa9ca389a1c885600feb6900b0d34f7c14">kFLASH_PropertyFlexRamBlockBaseAddr</a> = 0x08U,     </div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa062cdf2d78e722b71b6037eb6f60cbf4">  218</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa062cdf2d78e722b71b6037eb6f60cbf4">kFLASH_PropertyFlexRamTotalSize</a> = 0x09U,         </div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa51190ea2cbee3594588931079b0c7fc6">  219</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa51190ea2cbee3594588931079b0c7fc6">kFLASH_PropertyDflashSectorSize</a> = 0x10U,         </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4a988286f54bb8572af9487870bbb32c">  220</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4a988286f54bb8572af9487870bbb32c">kFLASH_PropertyDflashTotalSize</a> = 0x11U,          </div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4229b9f10be15a5169dc4b6e011536e3">  221</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4229b9f10be15a5169dc4b6e011536e3">kFLASH_PropertyDflashBlockSize</a> = 0x12U,          </div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad6ce4a3ff01396a5d61fdba8bbd2bb9d">  222</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad6ce4a3ff01396a5d61fdba8bbd2bb9d">kFLASH_PropertyDflashBlockCount</a> = 0x13U,         </div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa8ec2b47abac2083b760dd47d9bebcde0">  223</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa8ec2b47abac2083b760dd47d9bebcde0">kFLASH_PropertyDflashBlockBaseAddr</a> = 0x14U,      </div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab3520a58d0f8494d3d7e987d30cee6ed">  224</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab3520a58d0f8494d3d7e987d30cee6ed">kFLASH_PropertyEepromTotalSize</a> = 0x15U,          </div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab97130fd3296506b436e5ded0313ce33">  226</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab97130fd3296506b436e5ded0313ce33">kFLASH_PropertyVersion</a> = 0x20U, </div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;} <a class="code" href="group__flash__driver__api.html#ga7b6766fe08a63cf92a5e2a90dd6d010f">flash_property_tag_t</a>;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gae76bb8924742f0483f66c4d3917bb31e">  232</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__flash__driver.html#gae76bb8924742f0483f66c4d3917bb31e">_flash_execute_in_ram_function_constants</a></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;{</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea44c47300abac0defba3c515df8d531cd">  234</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea44c47300abac0defba3c515df8d531cd">kFLASH_ExecuteInRamFunctionMaxSize</a> = 64U, </div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea2e18b9dc426a3146df8f959c1c874ce0">  235</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea2e18b9dc426a3146df8f959c1c874ce0">kFLASH_ExecuteInRamFunctionTotalNum</a> = 2U  </div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;};</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_flash_execute_in_ram_function_config</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;{</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    uint32_t activeFunctionCount;    </div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    uint8_t *flashRunCommand;        </div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    uint8_t *flashCacheClearCommand; </div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;} <a class="code" href="group__flash__driver.html#structflash__execute__in__ram__function__config__t">flash_execute_in_ram_function_config_t</a>;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga70d45ebc64d50e9868f7016c8a417c51">  251</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _flash_read_resource_option</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;{</div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a80bd0a5fe1432c2a97a3bd8e4a5320ab">  253</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a80bd0a5fe1432c2a97a3bd8e4a5320ab">kFLASH_ResourceOptionFlashIfr</a> =</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        0x00U, </div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a900b2f3a7dbd7260d7883fe9fa816c6d">  255</a></span>&#160;    <a class="code" href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a900b2f3a7dbd7260d7883fe9fa816c6d">kFLASH_ResourceOptionVersionId</a> = 0x01U </div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;} <a class="code" href="group__flash__driver__api.html#ga70d45ebc64d50e9868f7016c8a417c51">flash_read_resource_option_t</a>;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="group__flash__driver__api.html#ga67c22466713ef09903b07a56e1c2a050">  259</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__flash__driver__api.html#ga67c22466713ef09903b07a56e1c2a050">flash_callback_t</a>)(void);</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_flash_config</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;{</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    uint32_t PFlashBlockBase;                </div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    uint32_t PFlashTotalSize;                </div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    uint32_t PFlashBlockCount;               </div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    uint32_t PFlashSectorSize;               </div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <a class="code" href="group__flash__driver__api.html#ga67c22466713ef09903b07a56e1c2a050">flash_callback_t</a> PFlashCallback;         </div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    uint32_t PFlashAccessSegmentSize;        </div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    uint32_t PFlashAccessSegmentCount;       </div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    uint32_t *flashExecuteInRamFunctionInfo; </div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    uint32_t FlexRAMBlockBase;               </div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    uint32_t FlexRAMTotalSize;               </div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    uint32_t DFlashBlockBase; </div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    uint32_t DFlashTotalSize; </div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    uint32_t EEpromTotalSize; </div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;} <a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a>;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="comment"> * API</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga19c10d3524010a2d33369855d74a5c04">FLASH_Init</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config);</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gaa89a4c7704b471af58c2d0f629a87ff4">FLASH_SetCallback</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <a class="code" href="group__flash__driver__api.html#ga67c22466713ef09903b07a56e1c2a050">flash_callback_t</a> callback);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gab69bf91c617921217e0c5f302cc33daf">FLASH_PrepareExecuteInRamFunctions</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config);</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga620aad3b28de9e89e3297bd1bbcd5618">FLASH_EraseAll</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t key);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gae9cb58f4cf76fec37631c4f344e2fb10">FLASH_Erase</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t start, uint32_t lengthInBytes, uint32_t key);</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga922c2d91287b65b805e2b6f115340af4">FLASH_EraseAllUnsecure</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t key);</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gad39d36451aef62e097b545518ef984f6">FLASH_EraseAllExecuteOnlySegments</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t key);</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gaac44aa0a054e62adb306bf4910a99bd4">FLASH_Program</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t start, uint32_t *src, uint32_t lengthInBytes);</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga7e45501b1e1c6ddd5b10a76e422c4d29">FLASH_ProgramOnce</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t index, uint32_t *src, uint32_t lengthInBytes);</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gad9ffbb7b82028934b864dd6fb359df92">FLASH_ReadResource</a>(</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    <a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t start, uint32_t *dst, uint32_t lengthInBytes, <a class="code" href="group__flash__driver.html#ga70d45ebc64d50e9868f7016c8a417c51">flash_read_resource_option_t</a> option);</div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga3921a84a4dc5f7f824d6816d17cbc55b">FLASH_ReadOnce</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t index, uint32_t *dst, uint32_t lengthInBytes);</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gac228a2b25c575e489b47ac3c0652a50a">FLASH_GetSecurityState</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <a class="code" href="group__flash__driver.html#ga00b3eb2666116e617f6e45a10218f6a9">flash_security_state_t</a> *state);</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gae54de3df1d9c73f19b1bd2ad713c2607">FLASH_SecurityBypass</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <span class="keyword">const</span> uint8_t *backdoorKey);</div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga85a55ca1a9dcdd134989e6c722007db6">FLASH_VerifyEraseAll</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <a class="code" href="group__flash__driver.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a> margin);</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div><div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gaf88e46a975e29f113fd29798aeb5b66c">FLASH_VerifyErase</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, uint32_t start, uint32_t lengthInBytes, <a class="code" href="group__flash__driver.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a> margin);</div><div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga17820a03a93127cf52f6e7b5ed830c8b">FLASH_VerifyProgram</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config,</div><div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;                             uint32_t start,</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;                             uint32_t lengthInBytes,</div><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;                             <span class="keyword">const</span> uint32_t *expectedData,</div><div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;                             <a class="code" href="group__flash__driver.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a> margin,</div><div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;                             uint32_t *failedAddress,</div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                             uint32_t *failedData);</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;</div><div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gab15b9e74df82e1ebc15c802c34eaeaab">FLASH_VerifyEraseAllExecuteOnlySegments</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <a class="code" href="group__flash__driver.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a> margin);</div><div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#ga288c88008135094a458b0464aca7724a">FLASH_IsExecuteOnly</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config,</div><div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;                             uint32_t start,</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;                             uint32_t lengthInBytes,</div><div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;                             <a class="code" href="group__flash__driver.html#gad38961e5692f64548dbf84d652b9ccde">flash_execute_only_access_state_t</a> *access_state);</div><div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__flash__driver__api.html#gafd0d83bc8fec50fe9a9121d2ec906697">FLASH_GetProperty</a>(<a class="code" href="group__flash__driver.html#structflash__config__t">flash_config_t</a> *config, <a class="code" href="group__flash__driver.html#ga7b6766fe08a63cf92a5e2a90dd6d010f">flash_property_tag_t</a> whichProperty, uint32_t *value);</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;}</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _FSL_FLASH_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="group__flash__driver__api_html_gga9378245c649eebea9451367d6b8f9ce2aca2ca63f9c507495e7b0f510b69497bb"><div class="ttname"><a href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2aca2ca63f9c507495e7b0f510b69497bb">kFLASH_ProtectionStateMixed</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:191</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga00b3eb2666116e617f6e45a10218f6a9a5c7043f3abad4e8d65f12179c4636dc2"><div class="ttname"><a href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a5c7043f3abad4e8d65f12179c4636dc2">kFLASH_SecurityStateBackdoorDisabled</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:181</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fab1ff313c13a7c4c9794c97d894c784d1"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab1ff313c13a7c4c9794c97d894c784d1">kFLASH_PropertyPflashAccessSegmentSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:215</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2ab8b9f6c116209a00338a430e741a1a40"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab8b9f6c116209a00338a430e741a1a40">kStatus_FLASH_SetFlexramAsEepromError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:126</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggae76bb8924742f0483f66c4d3917bb31ea2e18b9dc426a3146df8f959c1c874ce0"><div class="ttname"><a href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea2e18b9dc426a3146df8f959c1c874ce0">kFLASH_ExecuteInRamFunctionTotalNum</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:235</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga3921a84a4dc5f7f824d6816d17cbc55b"><div class="ttname"><a href="group__flash__driver__api.html#ga3921a84a4dc5f7f824d6816d17cbc55b">FLASH_ReadOnce</a></div><div class="ttdeci">status_t FLASH_ReadOnce(flash_config_t *config, uint32_t index, uint32_t *dst, uint32_t lengthInBytes)</div><div class="ttdoc">Read Program Once Field through parameters. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:294</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2ab032e11743a3397f9c81afac3faa9c25"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab032e11743a3397f9c81afac3faa9c25">kStatus_FLASH_CommandNotSupported</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:133</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a128d2d13d9674d46619a5c698bc7a7b9"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a128d2d13d9674d46619a5c698bc7a7b9">kStatus_FLASH_RecoverFlexramAsRamError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:128</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga620aad3b28de9e89e3297bd1bbcd5618"><div class="ttname"><a href="group__flash__driver__api.html#ga620aad3b28de9e89e3297bd1bbcd5618">FLASH_EraseAll</a></div><div class="ttdeci">status_t FLASH_EraseAll(flash_config_t *config, uint32_t key)</div><div class="ttdoc">Erases entire flash. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:152</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga95539796ed8672eda06bfc363883a508a5b52819ce5c4ed6cb099b6f89b7eac56"><div class="ttname"><a href="group__flash__driver__api.html#gga95539796ed8672eda06bfc363883a508a5b52819ce5c4ed6cb099b6f89b7eac56">kFLASH_ApiEraseKey</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:159</div></div>
<div class="ttc" id="group__flash__driver__api_html_gaaabdaf7ee58ca7269bd4bf24efcde092"><div class="ttname"><a href="group__flash__driver__api.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a></div><div class="ttdeci">int32_t status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:88</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga85a55ca1a9dcdd134989e6c722007db6"><div class="ttname"><a href="group__flash__driver__api.html#ga85a55ca1a9dcdd134989e6c722007db6">FLASH_VerifyEraseAll</a></div><div class="ttdeci">status_t FLASH_VerifyEraseAll(flash_config_t *config, flash_margin_value_t margin)</div><div class="ttdoc">Verifies erasure of entire flash at specified margin level. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:218</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa68caa1558315b7704b08d85c42869eb5"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa68caa1558315b7704b08d85c42869eb5">kFLASH_PropertyPflashTotalSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:210</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga288c88008135094a458b0464aca7724a"><div class="ttname"><a href="group__flash__driver__api.html#ga288c88008135094a458b0464aca7724a">FLASH_IsExecuteOnly</a></div><div class="ttdeci">status_t FLASH_IsExecuteOnly(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, flash_execute_only_access_state_t *access_state)</div><div class="ttdoc">Returns the access state of desired flash area via the pointer passed into the function. </div><div class="ttdef"><b>Definition:</b> fsl_flash.c:1505</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggae76bb8924742f0483f66c4d3917bb31ea44c47300abac0defba3c515df8d531cd"><div class="ttname"><a href="group__flash__driver__api.html#ggae76bb8924742f0483f66c4d3917bb31ea44c47300abac0defba3c515df8d531cd">kFLASH_ExecuteInRamFunctionMaxSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:234</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2aa3ace4bf14ea333efd6189b8ddf47aca"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa3ace4bf14ea333efd6189b8ddf47aca">kStatus_FLASH_RegionExecuteOnly</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:121</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2105f5de393a06479e62141dab8dd3fca1c1271a7e38d4e062e202730f6a5ebed"><div class="ttname"><a href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca1c1271a7e38d4e062e202730f6a5ebed">kFLASH_MarginValueUser</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:169</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga19c10d3524010a2d33369855d74a5c04"><div class="ttname"><a href="group__flash__driver__api.html#ga19c10d3524010a2d33369855d74a5c04">FLASH_Init</a></div><div class="ttdeci">status_t FLASH_Init(flash_config_t *config)</div><div class="ttdoc">Initializes global flash properties structure members. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:142</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2cdaf5b1f6b03013e2f0cf2c6d26adaea599e22575bcd9a7aa32a1c7b43591f0b"><div class="ttname"><a href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea599e22575bcd9a7aa32a1c7b43591f0b">kFLASH_DriverVersionName</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:60</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga70d45ebc64d50e9868f7016c8a417c51"><div class="ttname"><a href="group__flash__driver__api.html#ga70d45ebc64d50e9868f7016c8a417c51">flash_read_resource_option_t</a></div><div class="ttdeci">flash_read_resource_option_t</div><div class="ttdoc">Enumeration for the two possible options of flash read resource command. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:251</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga2105f5de393a06479e62141dab8dd3fc"><div class="ttname"><a href="group__flash__driver__api.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a></div><div class="ttdeci">flash_margin_value_t</div><div class="ttdoc">Enumeration for supported flash margin levels. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:166</div></div>
<div class="ttc" id="group__flash__driver_html_ga70d45ebc64d50e9868f7016c8a417c51"><div class="ttname"><a href="group__flash__driver.html#ga70d45ebc64d50e9868f7016c8a417c51">flash_read_resource_option_t</a></div><div class="ttdeci">flash_read_resource_option_t</div><div class="ttdoc">Enumeration for the two possible options of flash read resource command. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:273</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2aa7652faf3cc559ccda57f8aea502045b"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aa7652faf3cc559ccda57f8aea502045b">kStatus_FLASH_RecoverFlexramAsEepromError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:131</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a42567b719be83f23619c498da80643ed"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a42567b719be83f23619c498da80643ed">kStatus_FLASH_CommandFailure</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:117</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2aefaeaf1008f0361fb3ff2d051720cd82"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aefaeaf1008f0361fb3ff2d051720cd82">kStatus_FLASH_SwapIndicatorAddressError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:136</div></div>
<div class="ttc" id="group__flash__driver_html_gae76bb8924742f0483f66c4d3917bb31e"><div class="ttname"><a href="group__flash__driver.html#gae76bb8924742f0483f66c4d3917bb31e">_flash_execute_in_ram_function_constants</a></div><div class="ttdeci">_flash_execute_in_ram_function_constants</div><div class="ttdoc">Constants for execute-in-ram flash function. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:254</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa8ec2b47abac2083b760dd47d9bebcde0"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa8ec2b47abac2083b760dd47d9bebcde0">kFLASH_PropertyDflashBlockBaseAddr</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:223</div></div>
<div class="ttc" id="group__flash__driver__api_html_gae9cb58f4cf76fec37631c4f344e2fb10"><div class="ttname"><a href="group__flash__driver__api.html#gae9cb58f4cf76fec37631c4f344e2fb10">FLASH_Erase</a></div><div class="ttdeci">status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key)</div><div class="ttdoc">Erases flash sectors encompassed by parameters passed into function. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:167</div></div>
<div class="ttc" id="group__flash__driver_html_structflash__execute__in__ram__function__config__t"><div class="ttname"><a href="group__flash__driver.html#structflash__execute__in__ram__function__config__t">flash_execute_in_ram_function_config_t</a></div><div class="ttdoc">Flash execute-in-ram function information. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:263</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010faa6c433411ecb4bfea9d74504e266e219"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010faa6c433411ecb4bfea9d74504e266e219">kFLASH_PropertyPflashSectorSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:209</div></div>
<div class="ttc" id="group__flash__driver__api_html_gad39d36451aef62e097b545518ef984f6"><div class="ttname"><a href="group__flash__driver__api.html#gad39d36451aef62e097b545518ef984f6">FLASH_EraseAllExecuteOnlySegments</a></div><div class="ttdeci">status_t FLASH_EraseAllExecuteOnlySegments(flash_config_t *config, uint32_t key)</div><div class="ttdoc">Erases all program flash execute-only segments defined by the FXACC registers. </div><div class="ttdef"><b>Definition:</b> fsl_flash.c:713</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fad8c3b85ca1dc8fc5ef03e1954aef873e"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad8c3b85ca1dc8fc5ef03e1954aef873e">kFLASH_PropertyPflashBlockSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:211</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2105f5de393a06479e62141dab8dd3fcaa297e7607bb0ccefbe181d1f1d828deb"><div class="ttname"><a href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcaa297e7607bb0ccefbe181d1f1d828deb">kFLASH_MarginValueInvalid</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:171</div></div>
<div class="ttc" id="group__flash__driver__api_html_gac228a2b25c575e489b47ac3c0652a50a"><div class="ttname"><a href="group__flash__driver__api.html#gac228a2b25c575e489b47ac3c0652a50a">FLASH_GetSecurityState</a></div><div class="ttdeci">status_t FLASH_GetSecurityState(flash_config_t *config, flash_security_state_t *state)</div><div class="ttdoc">Returns the security state via the pointer passed into the function. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:204</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa51190ea2cbee3594588931079b0c7fc6"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa51190ea2cbee3594588931079b0c7fc6">kFLASH_PropertyDflashSectorSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:219</div></div>
<div class="ttc" id="group__flash__driver__api_html_gaf88e46a975e29f113fd29798aeb5b66c"><div class="ttname"><a href="group__flash__driver__api.html#gaf88e46a975e29f113fd29798aeb5b66c">FLASH_VerifyErase</a></div><div class="ttdeci">status_t FLASH_VerifyErase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, flash_margin_value_t margin)</div><div class="ttdoc">Verifies erasure of desired flash area at specified margin level. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:225</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fad73e31438b9bf8ea5d95e4807371e414"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad73e31438b9bf8ea5d95e4807371e414">kFLASH_PropertyPflashAccessSegmentCount</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:216</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggad38961e5692f64548dbf84d652b9ccdeae275896979de1eca572ae3c7449148f1"><div class="ttname"><a href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdeae275896979de1eca572ae3c7449148f1">kFLASH_AccessStateExecuteOnly</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:200</div></div>
<div class="ttc" id="group__flash__driver__api_html_gad9ffbb7b82028934b864dd6fb359df92"><div class="ttname"><a href="group__flash__driver__api.html#gad9ffbb7b82028934b864dd6fb359df92">FLASH_ReadResource</a></div><div class="ttdeci">status_t FLASH_ReadResource(flash_config_t *config, uint32_t start, uint32_t *dst, uint32_t lengthInBytes, flash_read_resource_option_t option)</div><div class="ttdoc">Read resource with data at locations passed in through parameters. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:280</div></div>
<div class="ttc" id="group__ksdk__common_html_ga98674236630d24e8234d66eabcb26953"><div class="ttname"><a href="group__ksdk__common.html#ga98674236630d24e8234d66eabcb26953">_generic_status</a></div><div class="ttdeci">_generic_status</div><div class="ttdoc">Generic status return codes. </div><div class="ttdef"><b>Definition:</b> fsl_common.h:109</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a6735801bd1fbd61f7d96a07c2c2f9a76"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a6735801bd1fbd61f7d96a07c2c2f9a76">kStatus_FLASH_SizeError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:109</div></div>
<div class="ttc" id="group__flash__driver__api_html_gae54de3df1d9c73f19b1bd2ad713c2607"><div class="ttname"><a href="group__flash__driver__api.html#gae54de3df1d9c73f19b1bd2ad713c2607">FLASH_SecurityBypass</a></div><div class="ttdeci">status_t FLASH_SecurityBypass(flash_config_t *config, const uint8_t *backdoorKey)</div><div class="ttdoc">Allows user to bypass security with a backdoor key. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:211</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a0ac435d9c4aa24ccb8ab983de1979780"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a0ac435d9c4aa24ccb8ab983de1979780">kStatus_FLASH_UnknownProperty</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:119</div></div>
<div class="ttc" id="group__flash__driver_html_gaa4639fd4d4503c0dec9925f749d308b2"><div class="ttname"><a href="group__flash__driver.html#gaa4639fd4d4503c0dec9925f749d308b2">_flash_status</a></div><div class="ttdeci">_flash_status</div><div class="ttdoc">Flash driver status codes. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:129</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fad6ce4a3ff01396a5d61fdba8bbd2bb9d"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fad6ce4a3ff01396a5d61fdba8bbd2bb9d">kFLASH_PropertyDflashBlockCount</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:222</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa9ca389a1c885600feb6900b0d34f7c14"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa9ca389a1c885600feb6900b0d34f7c14">kFLASH_PropertyFlexRamBlockBaseAddr</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:217</div></div>
<div class="ttc" id="group__flash__driver__api_html_gafd0d83bc8fec50fe9a9121d2ec906697"><div class="ttname"><a href="group__flash__driver__api.html#gafd0d83bc8fec50fe9a9121d2ec906697">FLASH_GetProperty</a></div><div class="ttdeci">status_t FLASH_GetProperty(flash_config_t *config, flash_property_tag_t whichProperty, uint32_t *value)</div><div class="ttdoc">Returns the desired flash property. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:246</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa0159abfba4e6ca47c70a89ea2fc24ab9"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa0159abfba4e6ca47c70a89ea2fc24ab9">kFLASH_PropertyPflashBlockBaseAddr</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:213</div></div>
<div class="ttc" id="group__flash__driver__api_html_gab69bf91c617921217e0c5f302cc33daf"><div class="ttname"><a href="group__flash__driver__api.html#gab69bf91c617921217e0c5f302cc33daf">FLASH_PrepareExecuteInRamFunctions</a></div><div class="ttdeci">status_t FLASH_PrepareExecuteInRamFunctions(flash_config_t *config)</div><div class="ttdoc">Prepare flash execute-in-ram functions. </div><div class="ttdef"><b>Definition:</b> fsl_flash.c:549</div></div>
<div class="ttc" id="group__flash__driver__api_html_gaac44aa0a054e62adb306bf4910a99bd4"><div class="ttname"><a href="group__flash__driver__api.html#gaac44aa0a054e62adb306bf4910a99bd4">FLASH_Program</a></div><div class="ttdeci">status_t FLASH_Program(flash_config_t *config, uint32_t start, uint32_t *src, uint32_t lengthInBytes)</div><div class="ttdoc">Programs flash with data at locations passed in through parameters. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:197</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa82ed61ee8b06813070ded3e06675e07c"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa82ed61ee8b06813070ded3e06675e07c">kFLASH_PropertyPflashFacSupport</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:214</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga9378245c649eebea9451367d6b8f9ce2"><div class="ttname"><a href="group__flash__driver__api.html#ga9378245c649eebea9451367d6b8f9ce2">flash_protection_state_t</a></div><div class="ttdeci">flash_protection_state_t</div><div class="ttdoc">Enumeration for the three possible flash protection levels. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:187</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga70d45ebc64d50e9868f7016c8a417c51a80bd0a5fe1432c2a97a3bd8e4a5320ab"><div class="ttname"><a href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a80bd0a5fe1432c2a97a3bd8e4a5320ab">kFLASH_ResourceOptionFlashIfr</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:253</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a85c375f1213ec36dd2cf60e8d9851867"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a85c375f1213ec36dd2cf60e8d9851867">kStatus_FLASH_InvalidArgument</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:108</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga7b6766fe08a63cf92a5e2a90dd6d010f"><div class="ttname"><a href="group__flash__driver__api.html#ga7b6766fe08a63cf92a5e2a90dd6d010f">flash_property_tag_t</a></div><div class="ttdeci">flash_property_tag_t</div><div class="ttdoc">Enumeration for various flash properties. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:207</div></div>
<div class="ttc" id="group__flash__driver__api_html_gad38961e5692f64548dbf84d652b9ccde"><div class="ttname"><a href="group__flash__driver__api.html#gad38961e5692f64548dbf84d652b9ccde">flash_execute_only_access_state_t</a></div><div class="ttdeci">flash_execute_only_access_state_t</div><div class="ttdoc">Enumeration for the three possible flash execute access levels. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:197</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa062cdf2d78e722b71b6037eb6f60cbf4"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa062cdf2d78e722b71b6037eb6f60cbf4">kFLASH_PropertyFlexRamTotalSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:218</div></div>
<div class="ttc" id="group__flash__driver_html_ga7b6766fe08a63cf92a5e2a90dd6d010f"><div class="ttname"><a href="group__flash__driver.html#ga7b6766fe08a63cf92a5e2a90dd6d010f">flash_property_tag_t</a></div><div class="ttdeci">flash_property_tag_t</div><div class="ttdoc">Enumeration for various flash properties. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:231</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2abf40cb19a8c5af9880414ef5f9be1c6d"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2abf40cb19a8c5af9880414ef5f9be1c6d">kStatus_FLASH_SetFlexramAsRamError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:130</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga67c22466713ef09903b07a56e1c2a050"><div class="ttname"><a href="group__flash__driver__api.html#ga67c22466713ef09903b07a56e1c2a050">flash_callback_t</a></div><div class="ttdeci">void(* flash_callback_t)(void)</div><div class="ttdoc">callback type used for pflash block </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:259</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga17820a03a93127cf52f6e7b5ed830c8b"><div class="ttname"><a href="group__flash__driver__api.html#ga17820a03a93127cf52f6e7b5ed830c8b">FLASH_VerifyProgram</a></div><div class="ttdeci">status_t FLASH_VerifyProgram(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, const uint32_t *expectedData, flash_margin_value_t margin, uint32_t *failedAddress, uint32_t *failedData)</div><div class="ttdoc">Verifies programming of desired flash area at specified margin level. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:232</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga9378245c649eebea9451367d6b8f9ce2ace4690203221c04a4e00de6278a59f1e"><div class="ttname"><a href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2ace4690203221c04a4e00de6278a59f1e">kFLASH_ProtectionStateUnprotected</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:189</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga00b3eb2666116e617f6e45a10218f6a9a4c4da1c4c06977cc999930f75f38ecc7"><div class="ttname"><a href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9a4c4da1c4c06977cc999930f75f38ecc7">kFLASH_SecurityStateBackdoorEnabled</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:180</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga7e45501b1e1c6ddd5b10a76e422c4d29"><div class="ttname"><a href="group__flash__driver__api.html#ga7e45501b1e1c6ddd5b10a76e422c4d29">FLASH_ProgramOnce</a></div><div class="ttdeci">status_t FLASH_ProgramOnce(flash_config_t *config, uint32_t index, uint32_t *src, uint32_t lengthInBytes)</div><div class="ttdoc">Programs Program Once Field through parameters. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:267</div></div>
<div class="ttc" id="group__flash__driver_html_ga00b3eb2666116e617f6e45a10218f6a9"><div class="ttname"><a href="group__flash__driver.html#ga00b3eb2666116e617f6e45a10218f6a9">flash_security_state_t</a></div><div class="ttdeci">flash_security_state_t</div><div class="ttdoc">Enumeration for the three possible flash security states. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:201</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga70d45ebc64d50e9868f7016c8a417c51a900b2f3a7dbd7260d7883fe9fa816c6d"><div class="ttname"><a href="group__flash__driver__api.html#gga70d45ebc64d50e9868f7016c8a417c51a900b2f3a7dbd7260d7883fe9fa816c6d">kFLASH_ResourceOptionVersionId</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:255</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fabb40541593520b9c1a87648a26e81957"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fabb40541593520b9c1a87648a26e81957">kFLASH_PropertyPflashBlockCount</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:212</div></div>
<div class="ttc" id="group__flash__driver_html_ga2105f5de393a06479e62141dab8dd3fc"><div class="ttname"><a href="group__flash__driver.html#ga2105f5de393a06479e62141dab8dd3fc">flash_margin_value_t</a></div><div class="ttdeci">flash_margin_value_t</div><div class="ttdoc">Enumeration for supported flash margin levels. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:190</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a91eb156935e27973454eb8df37a36c53"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a91eb156935e27973454eb8df37a36c53">kStatus_FLASH_PartitionStatusUpdateFailure</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:124</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2aacee5186bbe9db2e091dc5c36531cd7c"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2aacee5186bbe9db2e091dc5c36531cd7c">kStatus_FLASH_Success</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:107</div></div>
<div class="ttc" id="group__flash__driver_html_ga95539796ed8672eda06bfc363883a508"><div class="ttname"><a href="group__flash__driver.html#ga95539796ed8672eda06bfc363883a508">_flash_driver_api_keys</a></div><div class="ttdeci">_flash_driver_api_keys</div><div class="ttdoc">Enumeration for flash driver API keys. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:181</div></div>
<div class="ttc" id="group__flash__driver_html_structflash__config__t"><div class="ttname"><a href="group__flash__driver.html#structflash__config__t">flash_config_t</a></div><div class="ttdoc">Flash driver state information. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:443</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fab97130fd3296506b436e5ded0313ce33"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab97130fd3296506b436e5ded0313ce33">kFLASH_PropertyVersion</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:226</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggad38961e5692f64548dbf84d652b9ccdea38101c1bc20b060f8fa2f5ac43a04f66"><div class="ttname"><a href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea38101c1bc20b060f8fa2f5ac43a04f66">kFLASH_AccessStateUnLimited</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:199</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2ab406157d740ab0a07df1fc5d2b159fc3"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab406157d740ab0a07df1fc5d2b159fc3">kStatus_FLASH_ProtectionViolation</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:115</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga922c2d91287b65b805e2b6f115340af4"><div class="ttname"><a href="group__flash__driver__api.html#ga922c2d91287b65b805e2b6f115340af4">FLASH_EraseAllUnsecure</a></div><div class="ttdeci">status_t FLASH_EraseAllUnsecure(flash_config_t *config, uint32_t key)</div><div class="ttdoc">Erases entire flash, including protected sectors. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:182</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2acc367a368270606eae83264f59b55211"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2acc367a368270606eae83264f59b55211">kStatus_FLASH_AddressError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:112</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a098148af25679d78133103cace7580ea"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a098148af25679d78133103cace7580ea">kStatus_FLASH_AlignmentError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:110</div></div>
<div class="ttc" id="group__flash__driver_html_gad38961e5692f64548dbf84d652b9ccde"><div class="ttname"><a href="group__flash__driver.html#gad38961e5692f64548dbf84d652b9ccde">flash_execute_only_access_state_t</a></div><div class="ttdeci">flash_execute_only_access_state_t</div><div class="ttdoc">Enumeration for the three possible flash execute access levels. </div><div class="ttdef"><b>Definition:</b> src/drivers/flash/fsl_flash.h:221</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga00b3eb2666116e617f6e45a10218f6a9ad48939abe53a98896541d2ee1e7bf752"><div class="ttname"><a href="group__flash__driver__api.html#gga00b3eb2666116e617f6e45a10218f6a9ad48939abe53a98896541d2ee1e7bf752">kFLASH_SecurityStateNotSecure</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:179</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a5e0c3747a74458caefc231b995f09679"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a5e0c3747a74458caefc231b995f09679">kStatus_FLASH_SwapSystemNotInUninitialized</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:134</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fab3520a58d0f8494d3d7e987d30cee6ed"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fab3520a58d0f8494d3d7e987d30cee6ed">kFLASH_PropertyEepromTotalSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:224</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2105f5de393a06479e62141dab8dd3fcadc331ba6a0e6de26eb5c1e755136608d"><div class="ttname"><a href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fcadc331ba6a0e6de26eb5c1e755136608d">kFLASH_MarginValueFactory</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:170</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2ab9e32512512c1ea1508bc2832f2bd528"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2ab9e32512512c1ea1508bc2832f2bd528">kStatus_FLASH_AccessError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:113</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2105f5de393a06479e62141dab8dd3fca9071189977c1f756d42d710288cfb6be"><div class="ttname"><a href="group__flash__driver__api.html#gga2105f5de393a06479e62141dab8dd3fca9071189977c1f756d42d710288cfb6be">kFLASH_MarginValueNormal</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:168</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggad38961e5692f64548dbf84d652b9ccdea0b22f0d8b1f43e064f04d12659293c38"><div class="ttname"><a href="group__flash__driver__api.html#ggad38961e5692f64548dbf84d652b9ccdea0b22f0d8b1f43e064f04d12659293c38">kFLASH_AccessStateMixed</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:201</div></div>
<div class="ttc" id="group__flash__driver__api_html_gab15b9e74df82e1ebc15c802c34eaeaab"><div class="ttname"><a href="group__flash__driver__api.html#gab15b9e74df82e1ebc15c802c34eaeaab">FLASH_VerifyEraseAllExecuteOnlySegments</a></div><div class="ttdeci">status_t FLASH_VerifyEraseAllExecuteOnlySegments(flash_config_t *config, flash_margin_value_t margin)</div><div class="ttdoc">Verifies if the program flash executeonly segments have been erased to the specified read margin leve...</div><div class="ttdef"><b>Definition:</b> fsl_flash.c:1353</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2cdaf5b1f6b03013e2f0cf2c6d26adaea4735add39aa49ca212b24fbef9fcb952"><div class="ttname"><a href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea4735add39aa49ca212b24fbef9fcb952">kFLASH_DriverVersionMajor</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:61</div></div>
<div class="ttc" id="group__ksdk__common_html_gaaabdaf7ee58ca7269bd4bf24efcde092"><div class="ttname"><a href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a></div><div class="ttdeci">int32_t status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> fsl_common.h:121</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a87d744021836148574383ddcae44db32"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a87d744021836148574383ddcae44db32">kStatus_FLASH_ExecuteInRamFunctionNotReady</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:122</div></div>
<div class="ttc" id="group__flash__driver__api_html_ggaa4639fd4d4503c0dec9925f749d308b2a9741e88e6013710b11b81e2af7071a92"><div class="ttname"><a href="group__flash__driver__api.html#ggaa4639fd4d4503c0dec9925f749d308b2a9741e88e6013710b11b81e2af7071a92">kStatus_FLASH_EraseKeyError</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:120</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2cdaf5b1f6b03013e2f0cf2c6d26adaeab54b9127ada5f04373dd17edc4e005f4"><div class="ttname"><a href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaeab54b9127ada5f04373dd17edc4e005f4">kFLASH_DriverVersionMinor</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:62</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga9378245c649eebea9451367d6b8f9ce2a2c73fefaf7e6e3a065744be1aab71149"><div class="ttname"><a href="group__flash__driver__api.html#gga9378245c649eebea9451367d6b8f9ce2a2c73fefaf7e6e3a065744be1aab71149">kFLASH_ProtectionStateProtected</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:190</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa4a988286f54bb8572af9487870bbb32c"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4a988286f54bb8572af9487870bbb32c">kFLASH_PropertyDflashTotalSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:220</div></div>
<div class="ttc" id="group__flash__driver__api_html_gaa89a4c7704b471af58c2d0f629a87ff4"><div class="ttname"><a href="group__flash__driver__api.html#gaa89a4c7704b471af58c2d0f629a87ff4">FLASH_SetCallback</a></div><div class="ttdeci">status_t FLASH_SetCallback(flash_config_t *config, flash_callback_t callback)</div><div class="ttdoc">Set the desired flash callback function. </div><div class="ttdef"><b>Definition:</b> fsl_flash_api_tree.c:307</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga7b6766fe08a63cf92a5e2a90dd6d010fa4229b9f10be15a5169dc4b6e011536e3"><div class="ttname"><a href="group__flash__driver__api.html#gga7b6766fe08a63cf92a5e2a90dd6d010fa4229b9f10be15a5169dc4b6e011536e3">kFLASH_PropertyDflashBlockSize</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:221</div></div>
<div class="ttc" id="group__flash__driver__api_html_ga00b3eb2666116e617f6e45a10218f6a9"><div class="ttname"><a href="group__flash__driver__api.html#ga00b3eb2666116e617f6e45a10218f6a9">flash_security_state_t</a></div><div class="ttdeci">flash_security_state_t</div><div class="ttdoc">Enumeration for the three possible flash security states. </div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:177</div></div>
<div class="ttc" id="group__flash__driver__api_html_gga2cdaf5b1f6b03013e2f0cf2c6d26adaea1a3661a27450809aa90f49d6b01781b3"><div class="ttname"><a href="group__flash__driver__api.html#gga2cdaf5b1f6b03013e2f0cf2c6d26adaea1a3661a27450809aa90f49d6b01781b3">kFLASH_DriverVersionBugfix</a></div><div class="ttdef"><b>Definition:</b> apps/flash_driver_api/src/fsl_flash.h:63</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_9654b8d08f4bba4e84b362c5fd320bee.html">apps</a></li><li class="navelem"><a class="el" href="dir_a13319ccd288b6f27eeb89f0a964c157.html">flash_driver_api</a></li><li class="navelem"><a class="el" href="dir_f7f5cf5d5b94198a97fbdd2704295c1c.html">src</a></li><li class="navelem"><b>fsl_flash.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
